<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <title>智能订餐</title>
    <meta name="description" content="">
    <meta name="HandheldFriendly" content="True">
    <meta name="MobileOptimized" content="320">
    <meta name="viewport" content="width=device-width, initial-scale=1, minimal-ui, user-scalable=no">
    <meta http-equiv="cleartype" content="on">
    <meta name="format-detection" content="telephone=no">
    <link rel="stylesheet" href="/assets/base/Inforschool/css/style.css">
</head>
<body>
<div class="wraper">
    <div class="header font-white">
        <a href="/Base/Inforschool/Index2" class="iconfont icon-left font-white back"></a>
        <div class="font-16 text-center">历史订单</div>
    </div>
    <div class="bg_white margin-12 padding-12">
        <volist name="orderdata" id="v">
            <a href="historyDetial?id={BEESCRM:$v['or_sn']}" class="boxs flex_between padding-0 border">
                <div class=" font-gray1">{BEESCRM:$v['true_time']}</div>
                <div class="flex_between">
                    <div class="font_color" data-color="{BEESCRM:$v['pass']}">
                        {BEESCRM:$v['pass2']}
                    </div>
                    <div class="iconfont icon-right margin-l10 font-gray1"></div>
                </div>
            </a>
        </volist>
    </div>
</div>
<script src="/assets/base/Inforschool/js/jquery-2.1.0.min.js"></script>

<script>

    $('.font_color').each(function () {
        var color=$(this).data('color');
        if (color==1){
            $(this).addClass('font-red');
        }
        if (color==2){
            $(this).addClass('font-blue');
        }
        if (color==3){
            $(this).addClass('font-orange');
        }
        if (color==4){
            $(this).addClass('font-green');
        }
    })
</script>
</body>
</html>